package com.wujie.hello.spring.cloud.alibaba.nacos.oauth.authorization.pojo;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 *  @title TSideMenuAuthority
 *  @Description TODO
 *  @author wujie
 *  @dateTime 2020/9/9 11:26
 *  @version $Id: 
 *  @Copyright 2020-2021 
 */

@Data
@Table(name = "t_side_menu_authority")
public class TSideMenuAuthority implements Serializable {
    /**
     * id
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC")
    private Long id;

    /**
     * 创建人id
     */
    @Column(name = "create_by")
    private Long createBy;

    /**
     * 创建时间
     */
    @Column(name = "create_date")
    private Date createDate;

    /**
     * 更新人id
     */
    @Column(name = "update_by")
    private Long updateBy;

    /**
     * 更新时间
     */
    @Column(name = "update_date")
    private Date updateDate;

    @Column(name = "side_menu_id")
    private Long sideMenuId;

    @Column(name = "authority")
    private String authority;

    private static final long serialVersionUID = 1L;
}